Skip to content

[https://nvbugs/7044831][test] Unwaive the mixed-precision disaggregation tests fixed by #21597 - #21774

Merged
Hudayday merged 1 commit into
NVIDIA:mainfrom
Hudayday:kvcm-mixed-precision-disagg-unwaive-20261106
Nov 6, 2026
Merged

Hudayday merged 1 commit into
NVIDIA:mainfrom
Hudayday:kvcm-mixed-precision-disagg-unwaive-20261106

Conversation

@Hudayday

@Hudayday Hudayday commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

The change removes three waivers from tests/integration/test_lists/waives.txt. It enables the B300 hybrid mixed-precision append test, the B300 and DGX_B200 DeepSeek V4 mixed-disaggregation test, and the mixed-precision disaggregation pool-pairing test to run. The broader unittest/disaggregated waiver remains. No source-code or test-code files changed.

QA Engineer Review

The change removes three test waivers and adds no test functions or test IDs. The affected tests cover mixed-precision KV-cache handling and disaggregation. The supplied evidence does not establish results from completed checks on the current head. Coverage verdict: needs follow-up.

Per-File QA Perspective

  • tests/integration/test_lists/waives.txt: Removes the three test waivers described above. This test-list-only change does not require test-db or manual-QA list membership evidence.

Description

#21597 fixed the KV-head count of mixed-precision high layers in disaggregated transfer. This PR removes the waives of the tests that failed on it.

Waived test Platform Bug
unittest/_torch/pyexecutor/kv_cache/test_mamba_cache_manager.py::test_v2_hybrid_mixed_precision_appends_high_group B300 https://nvbugs/7044232
unittest/_torch/pyexecutor/kv_cache/test_mixed_precision_kv_cache.py::test_deepseek_v4_mixed_disagg_names_every_layer B300, DGX_B200 https://nvbugs/7043616
unittest/_torch/pyexecutor/kv_cache/test_mixed_precision_kv_cache.py::test_disagg_exports_both_pools_and_pairs_sink_tail All https://nvbugs/7044831

The unittest/disaggregated waive (https://nvbugs/7042835) stays: #21597 fixed its original break, but the directory now has failures unrelated to mixed precision.

Test Coverage

The unwaived tests run in this PR's CI. On B200, with this branch built from source, the three tests pass (test_mixed_precision_kv_cache.py plus the hybrid test: 21 passed).

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The integration test waiver list adds skips for a CPU subprocess-timeout test and a DGX_B200 DeepSeek V3 Lite test. It removes the skip for a disaggregation test.

Changes

Integration test waivers

Layer / File(s) Summary
Integration test waiver updates
tests/integration/test_lists/waives.txt
The list adds skip entries for a CPU subprocess-timeout test and the DGX_B200 DeepSeek V3 Lite test_bfloat16 test. It removes the skip entry for test_disagg_exports_both_pools_and_pairs_sink_tail.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Merge Risk: Minimal · up to 9e4c5

This change only adjusts which integration tests are skipped. It does not affect production behavior, and the reported CI runs passed, so no merge-blocking risk is evident.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly describes the main change: removing waivers for mixed-precision disaggregation tests.
Description check Passed The description covers the issue, solution, test coverage, and checklist. It does not mention the CPU timeout waiver move or the DeepSeek V3 Lite waiver.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b81f4ec and 9e4c570.

Files selected for processing: 1

  • tests/integration/test_lists/waives.txt
Files with no reviewable changes: 1

  • tests/integration/test_lists/waives.txt

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

@Hudayday

Hudayday commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@Hudayday
Hudayday requested review from brnguyen2 and mzweilz November 6, 2026 03:53
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82986 [ run ] triggered by Bot. Commit: be60a67 Link to invocation

@Hudayday
Hudayday force-pushed the kvcm-mixed-precision-disagg-unwaive-20261106 branch from be60a67 to 9ad8a9b Compare November 6, 2026 04:37
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements.

@Hudayday

Hudayday commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83000 [ run ] triggered by Bot. Commit: 9ad8a9b Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #82986 [ run ] completed with state ABORTED. Commit: be60a67

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83000 [ run ] completed with state SUCCESS. Commit: 9ad8a9b
/LLM/main/L0_MergeRequest_PR pipeline #68556 completed with status: 'SUCCESS'

CI Report

Link to invocation

@sunnyqgg sunnyqgg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked this unwaive against #21597 (7d7b098, already on this branch's base), the four NVBugs involved and this PR's CI: 0 blockers, 0 possibly blocking, 3 required, 0 nice-to-have. The fix covers both error paths the three tests hit (_kv_heads_for_layer now maps each mixed-precision high layer to its local layer first, kv_extractor.py:425-449), and in L0_MergeRequest_PR #68556 (head 9ad8a9b) B300-PyTorch-1 passed all three unwaived tests and DGX_B200-PyTorch-1 passed both test_mixed_precision_kv_cache.py ones (H100 skips them).

  • [Required] Please drop unittest/disaggregated SKIP (https://nvbugs/7042835) (waives.txt:263) as well, or narrow it to the node ids that still fail. #21597 also fixed 7042835's root cause (context_first_profile.py:116 now reads mixed_precision_low_dtype), and this PR's own L0_MergeRequest_PR #68540 (head be60a67, which removed this waive) ran unittest/disaggregated on CPU-Generic-x86-1 and CPU-Generic-arm-1 with 1793 passed / 0 failed, so CI does not bear out the description's "the directory now has failures unrelated to mixed precision". The waive matches only the unittest/disaggregated entry in l0_cpu.yml:226: outer waive matching is exact (tests/integration/defs/test_list_parser.py:698), the unittest-level matcher has no directory match (tests/unittest/conftest.py:336), and GPU stages run not cpu_only (jenkins/L0_Test.groovy:1962). So while it stays, #21597's own regression test test_extractor.py::test_v2_builder_resolves_mixed_precision_high_layer_heads[False/True] (and test_context_first_profile.py) runs in no CI stage, and a KV-head regression in a layout the three Blackwell-only tests do not build would merge unnoticed. The MPI timeout recorded on 7042835 (test_transfer_lifecycle_gpu[baseline]) is a GPU test listed by file (l0_dgx_b200.yml:71) that this waive does not cover anyway. If something in the directory still fails, waive those node ids under their own NVBug and name them in the description.
  • [Required] This PR removes the last waive of https://nvbugs/7044232, https://nvbugs/7043616 and https://nvbugs/7044831, but all three are still open, none mentions #21597, and only 7044831 is linked from the title (7044232 and 7043616 were auto-filed and never triaged). Please annotate each with the fix (#21597) and the passing runs in L0_MergeRequest_PR #68556 (B300-PyTorch-1: all three tests; DGX_B200-PyTorch-1: both test_mixed_precision_kv_cache.py tests) so they are closed when this merges.

Comment thread tests/integration/test_lists/waives.txt Resolved
@Hudayday
Hudayday force-pushed the kvcm-mixed-precision-disagg-unwaive-20261106 branch from 9ad8a9b to b81f4ec Compare November 6, 2026 06:30
@Hudayday

Hudayday commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83031 [ run ] triggered by Bot. Commit: b81f4ec Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83031 [ run ] completed with state SUCCESS. Commit: b81f4ec
/LLM/main/L0_MergeRequest_PR pipeline #68585 completed with status: 'SUCCESS'

CI Report

Link to invocation

@Hudayday
Hudayday enabled auto-merge (squash) November 6, 2026 08:32
… fixed by NVIDIA#21597

NVIDIA#21597 fixed the KV-head count of mixed-precision high layers in
disaggregated transfer. Remove the waives of the tests that failed on it:
- B300: test_mamba_cache_manager.py::
  test_v2_hybrid_mixed_precision_appends_high_group (https://nvbugs/7044232)
- B300 and DGX_B200: test_mixed_precision_kv_cache.py::
  test_deepseek_v4_mixed_disagg_names_every_layer (https://nvbugs/7043616)
- All platforms: test_mixed_precision_kv_cache.py::
  test_disagg_exports_both_pools_and_pairs_sink_tail (https://nvbugs/7044831)

Signed-off-by: tianruih <tianruih@nvidia.com>
@Hudayday
Hudayday force-pushed the kvcm-mixed-precision-disagg-unwaive-20261106 branch from b81f4ec to 9e4c570 Compare November 6, 2026 08:36
@Hudayday

Hudayday commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83076 [ run ] triggered by Bot. Commit: 9e4c570 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #83076 [ run ] completed with state SUCCESS. Commit: 9e4c570
/LLM/main/L0_MergeRequest_PR pipeline #68629 completed with status: 'SUCCESS'

CI Report

Link to invocation

@Hudayday
Hudayday merged commit b9ada48 into NVIDIA:main Nov 6, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants